package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("YF_AP_AMT_FK")
@ApiModel(value="YfApAmtFk对象", description="")
public class YfApAmtFk implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonIgnore
    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "单据号码")
    private String slipNo;

    @JsonIgnore
    @ApiModelProperty(value = "下单时间")
    private LocalDateTime slipDate;

    @JsonIgnore
    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "序号")
    private BigDecimal item;

    @ApiModelProperty(value = "金额")
    private BigDecimal amt;

    @ApiModelProperty(value = "备注")
    private String remark;

    @JsonIgnore
    @ApiModelProperty(value = "创建日期")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "创建人")
    private String sysUser;

    @JsonIgnore
    private String cfmFlag2;

    @JsonIgnore
    private LocalDateTime cfmDate;

    @JsonIgnore
    private String cfmUser;

    @JsonIgnore
    private String accountName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "付款时间")
    private LocalDate apCheckDate;
}
